package com.farm.reception;

import com.farm.opjo.Crops;
import com.farm.opjo.CropsDisease;
import com.farm.opjo.Disease;

/**
 * 封装病虫害Disease前端页面展示字段
 * 传出前台的实体
 */
public class WebDisease {
    /**
     * 字段：
     * 1.病虫害名称（病虫表）
     * 2.特征
     * 2.农作物名称（农作物表）
     * 3.防治措施（以上两表的中间表）的字段
     */
    private Disease disease;//病虫害名称
    private Crops crops;//农作物名称
    private CropsDisease cropsDisease;

    public Disease getDisease() {
        return disease;
    }

    public void setDisease(Disease disease) {
        this.disease = disease;
    }

    public Crops getCrops() {
        return crops;
    }

    public void setCrops(Crops crops) {
        this.crops = crops;
    }

    public CropsDisease getCropsDisease() {
        return cropsDisease;
    }

    public void setCropsDisease(CropsDisease cropsDisease) {
        this.cropsDisease = cropsDisease;
    }
}
